<template>
  <div>
    <input v-model.number="item.count" type="number" />
    <span>{{ item.goodsName }}</span>&nbsp;
    <span v-if="item.count <= 0">卖光啦!!!</span>
  </div>
</template>

<script>
export default {
  props: ['item']
};
</script>

<style>
</style>